package com.muqi.app.project.contants;

import java.io.File;

import android.os.Environment;

public class MContants {
	/** 友盟分享 */
	public static final String UM_SHARE = "com.umeng.share";
	/** 友盟登录 */
	public static final String UM_LOGIN = "com.umeng.login";
	/** 友盟分享 --官网*/
	public static final String SHARE_URL = NetWorkApi.SERVER_IP+"common/share/share_index";
	/** QQ的App_id */
	public static final String QQ_App_Id = "1105485073";
	/** QQ的App_key */
	public static final String QQ_App_Key = "Iu9xDK4SPy3gjZra";
	/** 微信分享APPid */
	public final static String WX_APP_ID = "wxa6f2cfd1686465a2";
	public final static String WX_APP_KEY = "1eb212a5c0462914b9f101bb6486ecad";
	//public final static String WX_APP_SIGNKEY = "2364c21b3cbe12cf9574227f9d0ed6f4";
	public final static String WX_PACKAGE_NAME = "com.tencent.mm";

	/** 图片存放路径 **/
	public static final String TAKE_PICTURE_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() 
											+ File.separator + "qlearn" + File.separator;
	/** 剪裁图片存放路径 **/
	public static final String TEMP_FILE_PATH = File.separator+"qlearn"+File.separator+"clip_temp.jpg";
											
	/** 登录状态文件 */
	public final static String UserLogin = "userLogin";
	/** 用户名和密码文件 */
	public final static String LoginPwd = "loginpwd";
	
	//public final static String USERINFO_CACHE_FILE = "UserInfos_cache_file";
	
	public final static String LOGIN_AS_PARENTS = "parents";
	public final static String LOGIN_AS_STUDENT = "student";
	public final static String LOGIN_AS_TEACHER="teacher";
	
	/** Request Code **/
	public static final int LAUNCH_CAMERA_CODE = 0x102;
	public static final int LAUNCH_DCIM_CODE = 0x103;
	public static final int CROP_RESULT_CODE = 0x104;
	/** Request Code **/
	public static final int SET_AUTHORIZATION_CODE = 0x105;
	public static final int SELECT_WECHAT_DCIM_CODE = 0x108;
	/** 滚轮 */
	public static int NumberPickerValue = 0;
	
	public static final String PICTURE_VIEW_BUTTON = "picture_add_button";
	
	public static final String REFRESH_FILETREE_ACTION = "refresh_file_tree";
	
	public static final String CHANGE_CURRENT_CHILD_ACTION = "change_current_child";
	public static final String CHANGE_CURRENT_CHILD_DATAS = "change_current_child_data";
	
	public static final String PARENT_WITH_CHILD_ACTION = "parent_with_child_action";
	public static final String PARENT_WITH_CHILD_ID = "parent_with_child_id";
}
